tar xf ${DOWNLOADDIR}/sqlite-3.50.4.tar.gz -C ${BUILDDIR}
pushd ${BUILDDIR}/sqlite-version-3.50.4
    ./configure --prefix=${SYSDIR}/cross-tools \
                --enable-fts5 --disable-tcl \
                CPPFLAGS="-DSQLITE_ENABLE_FTS3=1 \
                          -DSQLITE_ENABLE_FTS4=1 \
                          -DSQLITE_ENABLE_COLUMN_METADATA=1 \
                          -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
                          -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
                          -DSQLITE_SECURE_DELETE=1 \
                          -DSQLITE_ENABLE_FTS3_TOKENIZER=1"
    make ${JOBS}
    make install
popd
